#
if [ -f "/usr/local/var/run/openresty.pid" ]; then
  echo "nginx running."
  nginx -s stop
  echo "nginx is stop."
fi
nginx -p `pwd`/ -c conf/nginx.conf
echo "nginx is start."
tail -f ./logs/error.log